<?php

/**
 * Dp form.
 *
 * @package    dp-navigator
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class DpForm extends BaseDpForm
{
  public function configure()
  {
	  unset($this['created_at'], $this['updated_at']);
	  $textarea = new sfWidgetFormInputText();
	  
	  $this->widgetSchema['picture'] = new sfWidgetFormInputFile();
	  $this->validatorSchema['picture'] = new sfValidatorFile(array('required' => false, 'path' => sfConfig::get('sf_upload_dir').'/'));

  }
}
